const path = require('path');
const HtmlPlugin = require('./plugins/html');
const BrowserPlugin = require('./plugins/browser');

module.exports = {
    entry: './src/main.js',
    module: {
        rules: [{
            test: /\.css$/,
            loader: path.resolve('./loaders/css'),
        }]
    },
    plugins: [new HtmlPlugin(), new BrowserPlugin()],
    mode: 'production',
}